[INFO] cloning repository https://github.com/ablakey/gameboy
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ablakey/gameboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fablakey%2Fgameboy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fablakey%2Fgameboy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dc2abcae57f271cb7873f9fd5cc77cd6e30fb4d1
[INFO] building ablakey/gameboy against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fablakey%2Fgameboy" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ablakey/gameboy on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ablakey/gameboy
[INFO] finished tweaking git repo https://github.com/ablakey/gameboy
[INFO] tweaked toml for git repo https://github.com/ablakey/gameboy written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/ablakey/gameboy already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sdl2 v0.33.0
[INFO] [stderr]   Downloaded sdl2-sys v0.33.0
[INFO] [stderr]   Downloaded libc v0.2.90
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e045d2bbe4d9a2ef122b4364bf4d772e95e1ae5f0a69e83023bf44988047f1f3
[INFO] running `Command { std: "docker" "start" "-a" "e045d2bbe4d9a2ef122b4364bf4d772e95e1ae5f0a69e83023bf44988047f1f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e045d2bbe4d9a2ef122b4364bf4d772e95e1ae5f0a69e83023bf44988047f1f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e045d2bbe4d9a2ef122b4364bf4d772e95e1ae5f0a69e83023bf44988047f1f3", kill_on_drop: false }`
[INFO] [stdout] e045d2bbe4d9a2ef122b4364bf4d772e95e1ae5f0a69e83023bf44988047f1f3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0e98263f717b69825c2b5b4a543e51045df36ac619a69e98f93be5f177e41d9c
[INFO] running `Command { std: "docker" "start" "-a" "0e98263f717b69825c2b5b4a543e51045df36ac619a69e98f93be5f177e41d9c", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling syn v1.0.64
[INFO] [stderr]    Compiling serde_derive v1.0.124
[INFO] [stderr]    Compiling libc v0.2.90
[INFO] [stderr]    Compiling serde v1.0.124
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling sdl2 v0.33.0
[INFO] [stderr]    Compiling c_vec v1.3.3
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling pretty-hex v0.2.1
[INFO] [stderr]    Compiling sdl2-sys v0.33.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling gameboy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `address`
[INFO] [stdout]    --> src/guest/mmu/apu.rs:146:22
[INFO] [stdout]     |
[INFO] [stdout] 146 |     pub fn rb(&self, address: u16) -> u8 {
[INFO] [stdout]     |                      ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `length_enabled`
[INFO] [stdout]   --> src/guest/systems/apu/square.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         length_enabled: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_length_enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `square1`, `square2` and `wave` are never read
[INFO] [stdout]   --> src/guest/systems/apu/mod.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct APU {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] 14 |     clock: usize,
[INFO] [stdout] 15 |     square1: SquareVoice,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 16 |     square2: SquareVoice,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 17 |     wave: WaveVoice,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DUTY_CYCLES` is never used
[INFO] [stdout]  --> src/guest/systems/apu/square.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const DUTY_CYCLES: [[i32; 8]; 4] = [
[INFO] [stdout]   |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `clock`, `duty_phase` and `volume` are never read
[INFO] [stdout]   --> src/guest/systems/apu/square.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct SquareVoice {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 12 |     clock: usize,      // Track where we are in playing the current phase of the duty_cycle.
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 13 |     duty_phase: usize, // Track which of the 8 steps in the current duty cycle we're playing.
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 14 |     volume: usize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `tick` is never used
[INFO] [stdout]   --> src/guest/systems/apu/square.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn tick(
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OUTPUT_VOLUME` is never used
[INFO] [stdout]  --> src/guest/systems/apu/wave.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const OUTPUT_VOLUME: [f32; 4] = [0.0, 1.0, 0.5, 0.25];
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `clock` and `sample_index` are never read
[INFO] [stdout]  --> src/guest/systems/apu/wave.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct WaveVoice {
[INFO] [stdout]   |            --------- fields in this struct
[INFO] [stdout] 7 |     clock: usize,        // Track where we are in playing the current wave sample.
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 8 |     sample_index: usize, // Current sample (0-31) being played.
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `tick` is never used
[INFO] [stdout]   --> src/guest/systems/apu/wave.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn tick(&mut self, mmu: &MMU) -> f32 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "/tmp/rustcgdUoQz/symbols.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.41a8b5c7-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.41a8b5c7-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.41a8b5c7-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.41a8b5c7-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.41a8b5c7-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.41a8b5c7-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.41a8b5c7-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.41a8b5c7-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.41a8b5c7-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.41a8b5c7-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.41a8b5c7-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.41a8b5c7-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.41a8b5c7-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.41a8b5c7-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.41a8b5c7-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.gameboy.41a8b5c7-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05.2ia6hor7cf6g5jsb.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libserde_json-3833d7b1dcdc9353.rlib" "/opt/rustwide/target/debug/deps/libryu-8c106c7dece5fbd0.rlib" "/opt/rustwide/target/debug/deps/libitoa-844153741323d3c4.rlib" "/opt/rustwide/target/debug/deps/libserde-5d4ae5dbb76242d4.rlib" "/opt/rustwide/target/debug/deps/libsdl2-4381ac106705a6a9.rlib" "/opt/rustwide/target/debug/deps/libc_vec-e96f7ea073c23814.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-64e6cfe4f6250743.rlib" "/opt/rustwide/target/debug/deps/libbitflags-6d05264d59b50f7f.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-b33cd6b8ee13db74.rlib" "/opt/rustwide/target/debug/deps/liblibc-7907b80fad2ca004.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3dd5f78c3b43746e.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e13cbb326bcd01a4.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-13ac6af5403a52c8.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-a7b8febdd2acb289.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-343513f0726f71ed.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-8f833d900bfb98aa.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e97a7960ca6216c8.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-fb8c561e8c8eb24d.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a45121889bb564ec.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-f943c2d34bd4b56d.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-72ce2aaa649404e0.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-ac5d08ad5339e92e.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-dacfda262d5656fb.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e2056a834ba0712c.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a60649c148c6e2db.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-3e961d059b9bcde7.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-20f26f875d0170e2.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-522518611024dce5.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-05898138a596088a.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-5b83a1df856cf582.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_gfx" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/gameboy-91aaffbc4e33ce05" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: cannot find -lSDL2_gfx
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gameboy` due to 2 previous errors; 9 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "0e98263f717b69825c2b5b4a543e51045df36ac619a69e98f93be5f177e41d9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e98263f717b69825c2b5b4a543e51045df36ac619a69e98f93be5f177e41d9c", kill_on_drop: false }`
[INFO] [stdout] 0e98263f717b69825c2b5b4a543e51045df36ac619a69e98f93be5f177e41d9c
